﻿$.MGJ.ExperienceCenter = [];

(function () {
    var _this = $.MGJ.ExperienceCenter;
    $.extend($.MGJ.ExperienceCenter, {
        Ajax_AddMaterial: function (version) {
            RootsPathAndID();
            $.L.ajaxHandle({
                url: ACTION_URL("MaterialSave", "OriginsMaterial"),
                data: "MaterialName=体验中心&MaterialType="+version,
                success: function (data) {
                    $.MGJ.Common.loadurl(this, '/OriginsMaterial/EditOriginsMaterial?materialId='+data);
                }
            });
        }
    });
})(jQuery);